const fn = (state = {
  list: []
}, action) => {
  const {type, data} = action;
  switch (type) {
    case 'CHANGE_LIST' :
     return state = {
      list: data
      }
    default:
      return state
  }
}
export default fn